package GUI;

import java.io.File;
import java.util.ArrayList;

import Control.Character;


public class CharacterCatchInfoPanelData{
		public ScrollBar scrollBar;
		public PlusMinusButton pmButton;
		public CharacterInfoPanelButton characterSelectedButtonPanel;
		public ArrayList<CatchPhraseInfoPanelButton> catchPhraseSelectedButtonPanel;
		public AffineCharactersButton affineCharactersButton;
		public CommonWordsButton commonWordsButton;
		public IconMiniButton iconMiniButton;

		////////////////////////////////////////////////////////////////////////////////////////////////////
		public CharacterCatchInfoPanelData(Character c){
			scrollBar = new ScrollBar();
			pmButton = new PlusMinusButton();
			characterSelectedButtonPanel = new CharacterInfoPanelButton(c);
			catchPhraseSelectedButtonPanel = new ArrayList<CatchPhraseInfoPanelButton>();
			affineCharactersButton = new AffineCharactersButton(c);
			if(c.getCommonWords().size()>0)
				commonWordsButton = new CommonWordsButton(c);
			iconMiniButton = new IconMiniButton();
			if(c.getName().equalsIgnoreCase("Robot Santa"))
				iconMiniButton.setIcon("Santa.png");
			if(c.getName().equalsIgnoreCase("Al Gore"))
				iconMiniButton.setIcon("AlGore.png");
			else
				iconMiniButton.setIcon(c.getShortName()+".png");
		}
	}